package by.bsu.touragency.db.beans;

import java.util.GregorianCalendar;

public class Transport {

	private int id;
	private GregorianCalendar dateTo;
	private TransportType view;
	private City cityFrom;
	private City cityTo;
	private GregorianCalendar dateFrom;

	public Transport() {
		super();
	}

	public Transport(GregorianCalendar dateTo, TransportType view,
			City cityFrom, City cityTo, GregorianCalendar dateFrom) {
		super();
		this.dateTo = dateTo;
		this.view = view;
		this.cityFrom = cityFrom;
		this.cityTo = cityTo;
		this.dateFrom = dateFrom;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public GregorianCalendar getDateTo() {
		return dateTo;
	}

	public void setDateTo(GregorianCalendar dateTo) {
		this.dateTo = dateTo;
	}

	public TransportType getView() {
		return view;
	}

	public void setView(TransportType view) {
		this.view = view;
	}

	public City getCityFrom() {
		return cityFrom;
	}

	public void setCityFrom(City cityFrom) {
		this.cityFrom = cityFrom;

	}

	public City getCityTo() {
		return cityTo;
	}

	public void setCityTo(City cityTo) {
		this.cityTo = cityTo;
	}

	public GregorianCalendar getDateFrom() {
		return dateFrom;
	}

	public void setDateFrom(GregorianCalendar dateFrom) {
		this.dateFrom = dateFrom;
	}

}
